#ifndef __FLASH_H
#define __FLASH_H

#include "sys.h"

typedef union 
{
	uint32_t u32[6];
	float f32[6];
	uint8_t u8[24];
}param_u;
extern param_u param;

void writeFlash(void);
void printFlash(void);
void saveParam(uint32_t* param);
void readParam(uint32_t* param);

#endif
